package com.bookmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bookmall.product.domain.BookInfoMessage;
import com.bookmall.product.domain.vo.BookMessageVo;

import java.util.List;

/**
 * @Description:
 * @Author 胡菜鸡
 * @Create 2022-04-08-15:38
 */
public interface IBookInfoMessageService extends IService<BookInfoMessage> {
    /**
     * 添加评论
     * @author 胡菜鸡
     * @date 2022/5/3 17:09
     */
    Boolean addComment(BookInfoMessage bookInfoMessage);

    /**
     * 根据书本id查询该书本的评论
     * @author 胡菜鸡
     * @date 2022/5/3 17:33
     */
    BookMessageVo selectBookMessageByBookId(String bookId);
}
